import request from '@/utils/request'
// 保存增值配置
export function pluginssave(data) {
    return request({
        url: '/adminapi/gain/v3/save',
        method: 'post',
        data
    })
}
// 增值配置列表
export function pluginsgetList(data) {
    return request({
        url: '/adminapi/gain/v3/getList',
        method: 'post',
        data
    })
}
// 删除增值配置
export function pluginsdelete(data) {
    return request({
        url: '/adminapi/gain/v3/delete',
        method: 'post',
        data
    })
}
// 增值配置-详情
export function pluginsdetail(data) {
    return request({
        url: '/adminapi/gain/v3/detail',
        method: 'post',
        data
    })
}

// 分销配置-商品列表
export function goodslist(data) {
    return request({
        url: '/adminapi/retail/v4/goods/list',
        method: 'post',
        data
    })
}

// 分销配置-保存商品
export function goodssave(data) {
    return request({
        url: '/adminapi/retail/v4/goods/save',
        method: 'post',
        data
    })
}

// 分销配置-移除商品
export function goodsremove(data) {
    return request({
        url: '/adminapi/retail/v4/goods/delete',
        method: 'post',
        data
    })
}

// 分销配置-详情
export function goodsdetail(data) {
    return request({
        url: '/adminapi/retail/v4/goods/detail',
        method: 'post',
        data
    })
}

